process.on('message', (command) => {
    console.log(process.cwd());
    //返回信息给父进程
    process.send('已获取到路径')
})